package org.linlinjava.litemall.wx.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.db.domain.LitemallGoods;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description: TODO
 * @author: Destin
 * @date: 2021-10-18
 */
@Data
public class GoodsListVo {

    @ApiModelProperty("是否秒杀商品")
    private Boolean isKill = false;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("秒杀价格")
    private BigDecimal killPrice;

    private Integer id;

    private Integer number;

    private Integer killNumber;

    private Integer initialNumber;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private String goodsSn;

    private String name;

    private Integer categoryId;

    private String[] recommend;

    private String[] gallery;

    private String keywords;

    private String brief;

    private Boolean isOnSale;

    private Short sortOrder;

    private String picUrl;

    private String detailUrl;

    private String unit;

    private BigDecimal counterPrice;

    private BigDecimal retailPrice;

    private LocalDateTime addTime;

    private LocalDateTime updateTime;

    private Boolean deleted;

    private String detail;
}
